package cn.yutong.system.mapper;

import cn.yutong.system.entity.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 系统用户表 Mapper 接口
 * </p>
 *
 * @author lnexin
 * @since 2018-11-26
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from s_user;")
    List<User> selectAll();

    @Select("select * from s_user")
    List<User> queryUserList(Page<User> page);
}
